home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global cowboy1, cowboy2, cowboy3, cowboy4, cowboy5
- lastbit2()
- set section to random(5)
- if (section = 1) and (cowboy1 = 1) then
- startTimer()
- go(the frame + 1)
- else
- if (section = 2) and (cowboy2 = 1) then
- startTimer()
- go(the frame + 2)
- else
- if (section = 3) and (cowboy3 = 1) then
- startTimer()
- go(the frame + 3)
- else
- if (section = 4) and (cowboy4 = 1) then
- startTimer()
- go(the frame + 4)
- else
- if (section = 5) and (cowboy5 = 1) then
- startTimer()
- go(the frame + 5)
- end if
- end if
- end if
- end if
- end if
- go(the frame)
- end
-
- on mouseUp
- repeat with n = 21 down to 1
- set the visible of sprite n to 1
- puppetSprite(n, 0)
- end repeat
- sound stop 1
- go(10)
- end
-